package com.hqyj.system.mapper;

import com.hqyj.system.model.Purchase;
import com.hqyj.system.model.User;

import java.util.List;

public interface PurchaseMapper {
    int deleteByPrimaryKey(Integer purchaseId);

    int insert(Purchase record);

    int insertSelective(Purchase record);

    Purchase selectByPrimaryKey(Integer purchaseId);

    int updateByPrimaryKeySelective(Purchase record);

    int updateByPrimaryKey(Purchase record);


    List<Purchase> queryAllPuchase();

    int addPurchaseByPurchase(Purchase purchase);
}